package cn.xiaolang.function.design_pattern.state;

import lombok.Getter;
import lombok.Setter;

/**
 * 提审节点
 *
 * @author Dean
 * @date 2021-12-23
 */
@Setter
@Getter
public class TrialNode {

    /**
     * 节点名称
     */
    private String name = "first node";


    private TrialStatus trialStatus = TrialStatus.PENDING;

    public TrialNode(String name) {
        this.name = name;
    }

    public TrialNode() {
    }
}